
# import os
# import sys
# import django
import base
from web import models

# base_dir = os.path.dirname(os.path.dirname(__file__))
# sys.path.append(base_dir)
# os.environ.setdefault("DJANGO_SETTINGS_MODULE", "s28.settings")
# django.setup()

def run():

    models.PricePolicy.objects.create(
        category=2,
        title="VIP",
        price=100,
        project_num=50,  # 3个项目
        project_member=10,  # 2人
        project_space=10,  # 20M
        per_file_size=500,  # 5M
    )
    models.PricePolicy.objects.create(
        category=2,
        title="SVIP",
        price=200,
        project_num=150,  # 3个项目
        project_member=110,  # 2人
        project_space=110,  # 20M
        per_file_size=1024,  # 5M
    )
    models.PricePolicy.objects.create(
        category=2,
        title="SSVIP",
        price=500,
        project_num=550,  # 3个项目
        project_member=510,  # 2人
        project_space=510,  # 20M
        per_file_size=2048,  # 5M
    )

if __name__ == '__main__':
    run()





